package com.member.shop.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.member.shop.domain.SysBizMemberGrade;

import java.util.List;

/**
 * 会员等级Service接口
 *
 * @author lixinchen
 * @date 2024-12-29
 */
public interface ISysBizMemberGradeService extends IService<SysBizMemberGrade> {
    /**
     * 查询会员等级
     *
     * @param id 会员等级主键
     * @return 会员等级
     */
    public SysBizMemberGrade selectSysBizMemberGradeById(Long id);

    /**
     * 查询会员等级列表
     *
     * @param sysBizMemberGrade 会员等级
     * @return 会员等级集合
     */
    public List<SysBizMemberGrade> selectSysBizMemberGradeList(LambdaQueryWrapper<SysBizMemberGrade> queryWrapper);

    /**
     * 新增会员等级
     *
     * @param sysBizMemberGrade 会员等级
     * @return 结果
     */
    public int insertSysBizMemberGrade(SysBizMemberGrade sysBizMemberGrade);

    /**
     * 修改会员等级
     *
     * @param sysBizMemberGrade 会员等级
     * @return 结果
     */
    public int updateSysBizMemberGrade(SysBizMemberGrade sysBizMemberGrade);

    /**
     * 批量删除会员等级
     *
     * @param ids 需要删除的会员等级主键集合
     * @return 结果
     */
    public int deleteSysBizMemberGradeByIds(Long[] ids);

    /**
     * 删除会员等级信息
     *
     * @param id 会员等级主键
     * @return 结果
     */
    public int deleteSysBizMemberGradeById(Long id);
}